#include "stdafx.h"
#include "../../UnitTest/TestMgr.h"
#include "../../UnitTest/Test.h"
#include "../ConstStr.h"
#include "../ConstWStr.h"

using namespace Base::ConstStr;

void testConstStr()
{
    assert( ConstStr::get()->string("abc")  ==  ConstStr::get()->string("abc"));
    assert(ConstWStr::get()->string(L"abc") == ConstWStr::get()->string(L"abc"));
}

static Base::UnitTest::Test kTestConstStr(testConstStr);